<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/sys/include/taglib.jsp"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>物品信息</title>
<%@ include file="/WEB-INF/sys/include/css.jsp"%>
</head>
<body>
<form id="form" action="" method="post">
<div class="form">
	<div class="group">
		<div class="label">物品代码:</div>
		<div class="item">${res.resDm}</div>
	</div>
	<div class="group">
		<div class="label">物品条码:</div>
		<div class="item">${res.resTm}</div>
	</div>
	<div class="group">
		<div class="label">物品名称:</div>
		<div class="item">${res.resName}</div>
	</div>
	<div class="group">
		<div class="label">拼音助记符:</div>
		<div class="item">${res.pinyin}</div>
	</div>
	<div class="group">
		<div class="label">物品型号:</div>
		<div class="item">${res.model}</div>
	</div>
	<div class="group">
		<div class="label">物品类别:</div>
		<div class="item">${typeName}</div>
	</div>
	<div class="group">
		<div class="label">单位:</div>
		<div class="item">${res.unit}</div>
	</div>
	<div class="group">
		<div class="label">生产厂家:</div>
		<div class="item">${res.sccj}</div>
	</div>
	<div class="group">
		<div class="label">备注:</div>
		<div class="item"><textarea readonly="readonly" id="remark" name="remark">${res.remark}</textarea></div>
	</div>
	<%-- <div class="group">
		<div class="label">库存下限:</div>
		<div class="item">${res.stockMin}</div>
	</div>
	<div class="group">
		<div class="label">库存上限:</div>
		<div class="item">${res.stockMax}</div>
	</div> --%>
	<div class="group">
		<div class="label">默认入库价格:</div>
		<div class="item">${res.inPrice}</div>
	</div>
	<div class="group">
		<div class="label">默认出库价格:</div>
		<div class="item">${res.outPrice}</div>
	</div>
	<div class="group">
		<div class="label">库存平均价格:</div>
		<div class="item">${res.middlePrice}</div>
	</div>
	<div class="buttons">
		<button type="button" id="cancel1">返回</button>
	</div>
</div>
</form>
<%@ include file="/WEB-INF/sys/include/script.jsp" %>
<script type="text/javascript">
$(function() {
	$("#form").ligerForm({inputWidth: 300});
	$("#cancel1").click(function(){
		UiUtil.closeForm();
	});
});
</script>
</body>
</html>